<template>
  <div class="about-layout">
    <!-- 使用新的导航栏 -->
    <UserHomeHeader />

    <div class="about-content">
      <!-- 页面标题 -->
      <section class="page-header">
        <div class="header-content">
          <h1>关于系统</h1>
          <p>了解面向东盟的多语言文本对齐系统的设计理念与发展历程</p>
        </div>
      </section>

      <!-- 系统简介 -->
      <section class="system-intro">
        <div class="intro-content">
          <div class="intro-text">
            <h2>系统简介</h2>
            <p>面向东盟的多语言文本对齐系统是一个专业的多语言文本处理平台，旨在为中国-东盟合作提供智能化的语言服务支撑。系统整合了文本对齐、数据清洗、智能检索和大语言模型对话等核心功能，为用户提供全方位的多语言文本处理解决方案。</p>
            <p>系统采用先进的自然语言处理技术和机器学习算法，支持中文与东盟各国语言之间的精准对齐和智能处理，广泛应用于语言学习、翻译服务、学术研究等领域。</p>
          </div>
          <div class="intro-visual">
            <div class="intro-image">
              <img src="/logo_02.png" alt="系统Logo" />
            </div>
            <div class="intro-stats">
              <div class="stat-item">
                <div class="stat-number">10+</div>
                <div class="stat-label">支持语言</div>
              </div>
              <div class="stat-item">
                <div class="stat-number">99.5%</div>
                <div class="stat-label">对齐准确率</div>
              </div>
              <div class="stat-item">
                <div class="stat-number">14/4</div>
                <div class="stat-label">服务可用性</div>
              </div>
            </div>
          </div>
        </div>
      </section>

      <!-- 设计历程 -->
      <section class="design-history">
        <div class="history-content">
          <h2>系统设计历程</h2>

          <div class="timeline">
            <div class="timeline-item">
              <div class="timeline-marker">
                <div class="timeline-dot"></div>
                <div class="timeline-year">2025.09</div>
              </div>
              <div class="timeline-content">
                <h3>项目启动与需求分析</h3>
                <p>随着中国-东盟合作的不断深化，多语言文本处理需求日益增长，开发者深入调研了语言服务机构、翻译公司和学术研究机构的实际需求，确定了系统的核心功能和技术路线。</p>
                <div class="milestone-list">
                  <div class="milestone">
                    <el-icon><ArrowRight /></el-icon>
                    <span>完成用户需求调研和分析</span>
                  </div>
                  <div class="milestone">
                    <el-icon><ArrowRight /></el-icon>
                    <span>确定技术架构方案</span>
                  </div>
                  <div class="milestone">
                    <el-icon><ArrowRight /></el-icon>
                    <span>确定核心开发要素</span>
                  </div>
                </div>
              </div>
            </div>

            <div class="timeline-item">
              <div class="timeline-marker">
                <div class="timeline-dot"></div>
                <div class="timeline-year">2025.10</div>
              </div>
              <div class="timeline-content">
                <h3>核心技术研发与系统构建</h3>
                <p>系统进入实质性的技术开发阶段，开发者重点攻克了多语言文本对齐算法、智能数据清洗和大语言模型集成等关键技术难题，构建了完整的系统架构。</p>
                <div class="milestone-list">
                  <div class="milestone">
                    <el-icon><ArrowRight /></el-icon>
                    <span>开发文本对齐核心算法</span>
                  </div>
                  <div class="milestone">
                    <el-icon><ArrowRight /></el-icon>
                    <span>构建数据清洗处理引擎</span>
                  </div>
                  <div class="milestone">
                    <el-icon><ArrowRight /></el-icon>
                    <span>完成数据检索的开发</span>
                  </div>
                  <div class="milestone">
                    <el-icon><ArrowRight /></el-icon>
                    <span>集成大语言模型对话系统</span>
                  </div>
                </div>
              </div>
            </div>

            <div class="timeline-item">
              <div class="timeline-marker">
                <div class="timeline-dot"></div>
                <div class="timeline-year">2026.01</div>
              </div>
              <div class="timeline-content">
                <h3>系统测试与优化</h3>
                <p>系统经过多轮测试和优化，通过不断收集用户反馈和改进系统功能，逐步完善系统功能，希望提供更加优质的语言服务支撑。</p>
                <div class="milestone-list">
                  <div class="milestone">
                    <el-icon><ArrowRight /></el-icon>
                    <span>系统进行全面测试</span>
                  </div>
                  <div class="milestone">
                    <el-icon><ArrowRight /></el-icon>
                    <span>同步完善开发文档</span>
                  </div>
                  <div class="milestone">
                    <el-icon><ArrowRight /></el-icon>
                    <span>持续优化系统性能</span>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </section>
      <!-- 联系我们 -->
      <section class="contact-section">
        <div class="contact-content">
          <h2>联系开发者</h2>
          <p>如果您对系统有任何问题或建议，欢迎与开发者联系。</p>

          <div class="contact-grid">
            <div class="contact-item">
              <div class="contact-icon">
                <el-icon><Message /></el-icon>
              </div>
              <div class="contact-info">
                <h4>电子邮件</h4>
                <p>yequndi0633@126.com</p>
              </div>
            </div>

            <div class="contact-item">
              <div class="contact-icon">
                <el-icon><Phone /></el-icon>
              </div>
              <div class="contact-info">
                <h4>联系电话</h4>
                <p>+86 191-2001-8752</p>
              </div>
            </div>

            <div class="contact-item">
              <div class="contact-icon">
                <el-icon><Location /></el-icon>
              </div>
              <div class="contact-info">
                <h4>办公地址</h4>
                <p>中国广州市从化区</p>
              </div>
            </div>
          </div>
        </div>
      </section>
    </div>
  </div>
</template>

<script setup>
import { ArrowRight, Message, Phone, Location } from '@element-plus/icons-vue'
import UserHomeHeader from '@/components/UserHomeHeader.vue'
</script>

<style scoped>
.about-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.about-content {
  flex: 1;
}

/* 页面标题样式 */
.page-header {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-card) 100%);
  padding: 60px 20px;
  text-align: center;
}

.header-content {
  max-width: 800px;
  margin: 0 auto;
}

.header-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-strong);
  margin-bottom: 15px;
}

.header-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 系统简介样式 */
.system-intro {
  padding: 80px 20px;
  background: var(--bg-card);
}

.intro-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-text h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 25px;
}

.intro-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.intro-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.intro-image {
  text-align: center;
}

.intro-image img {
  max-width: 200px;
  height: auto;
  object-fit: contain;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}

.stat-item {
  text-align: center;
  padding: 25px 15px;
  background: var(--bg-page);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-strong);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* 设计历程样式 */
.design-history {
  padding: 80px 20px;
  background: var(--bg-page);
}

.history-content {
  max-width: 1200px;
  margin: 0 auto;
}

.history-content h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 60px;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 120px;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  border: 4px solid var(--bg-page);
  box-shadow: 0 0 0 4px var(--primary-light);
  margin-bottom: 10px;
}

.timeline-year {
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}

.timeline-content {
  flex: 1;
  background: var(--bg-card);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  margin: 0 40px;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.timeline-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 25px;
}

.milestone-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.milestone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
}

.milestone .el-icon {
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}
/* 联系我们样式 */
.contact-section {
  padding: 80px 20px;
  background: var(--bg-page);
}

.contact-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.contact-content h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.contact-content > p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-item {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  text-align: center;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: var(--primary-strong);
}

.contact-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .intro-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .intro-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: row !important;
    margin-left: 60px;
  }

  .timeline-marker {
    position: absolute;
    left: -60px;
    width: auto;
  }

  .timeline-content {
    margin: 0 0 0 20px;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-content h1 {
    font-size: 2rem;
  }

  .intro-text h2,
  .history-content h2,
  .arch-content h2,
  .contact-content h2 {
    font-size: 1.8rem;
  }

  .timeline-content {
    padding: 20px;
  }

  .tech-category {
    padding: 20px;
  }

  .contact-item {
    padding: 30px 20px;
  }
}
</style>